#!/bin/bash 
string="my_file=/etc/passwd"
num=`expr index $string "="`
echo $num
            file_path=${string:$num}
            echo $file_path
